Parallel function calling
Parallel function call is helpful for cases where you want to call multiple functions in one turn.
3都市の天気を取得
And you can pass back the results of each function call by referencing the tool_call_id in the response matching the ID of each tool call.
If you want to force the model to call a specific function you can do so by setting tool_choice with a specific function name.
「関数の名前を与えてfunction callingを強制できる」
none is the default when no functions are present. auto is the default if functions are present.
function_call パラメタはdeprecated。tool_choiceを使っていく
functionsパラメタがtoolsパラメタに!